package com.zhuang.test.entity;

public class User {
    private Integer userId;

    private String userLoginName;

    private String userPassword;

    private String userTrueName;

    private String userIdCard;

    private String userPhoneNumber;

    private Integer userSex;

    private Integer userType;

    private String remark;

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userLoginName='" + userLoginName + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userTrueName='" + userTrueName + '\'' +
                ", userIdCard='" + userIdCard + '\'' +
                ", userPhoneNumber='" + userPhoneNumber + '\'' +
                ", userSex=" + userSex +
                ", userType=" + userType +
                ", remark='" + remark + '\'' +
                '}';
    }

    public User() {
    }

    public User(String userLoginName, String userPassword, String userTrueName, String userIdCard, String userPhoneNumber, Integer userSex, Integer userType) {
        this.userLoginName = userLoginName;
        this.userPassword = userPassword;
        this.userTrueName = userTrueName;
        this.userIdCard = userIdCard;
        this.userPhoneNumber = userPhoneNumber;
        this.userSex = userSex;
        this.userType = userType;
    }

    public User(String userLoginName, String userPassword, String userTrueName, String userIdCard, String userPhoneNumber, Integer userSex, Integer userType, String remark) {
        this.userLoginName = userLoginName;
        this.userPassword = userPassword;
        this.userTrueName = userTrueName;
        this.userIdCard = userIdCard;
        this.userPhoneNumber = userPhoneNumber;
        this.userSex = userSex;
        this.userType = userType;
        this.remark = remark;
    }

    public User(Integer userId, String userLoginName, String userPassword, String userTrueName, String userIdCard, String userPhoneNumber, Integer userSex, Integer userType, String remark) {
        this.userId = userId;
        this.userLoginName = userLoginName;
        this.userPassword = userPassword;
        this.userTrueName = userTrueName;
        this.userIdCard = userIdCard;
        this.userPhoneNumber = userPhoneNumber;
        this.userSex = userSex;
        this.userType = userType;
        this.remark = remark;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserLoginName() {
        return userLoginName;
    }

    public void setUserLoginName(String userLoginName) {
        this.userLoginName = userLoginName == null ? null : userLoginName.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public String getUserTrueName() {
        return userTrueName;
    }

    public void setUserTrueName(String userTrueName) {
        this.userTrueName = userTrueName == null ? null : userTrueName.trim();
    }

    public String getUserIdCard() {
        return userIdCard;
    }

    public void setUserIdCard(String userIdCard) {
        this.userIdCard = userIdCard == null ? null : userIdCard.trim();
    }

    public String getUserPhoneNumber() {
        return userPhoneNumber;
    }

    public void setUserPhoneNumber(String userPhoneNumber) {
        this.userPhoneNumber = userPhoneNumber == null ? null : userPhoneNumber.trim();
    }

    public Integer getUserSex() {
        return userSex;
    }

    public void setUserSex(Integer userSex) {
        this.userSex = userSex;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}